<%@ Page Language="C#" MasterPageFile="~/MasterPage/BaseLine.Master" AutoEventWireup="true"
  Codebehind="ReportPage.aspx.cs" Inherits="WebRobot.Pages.ReportPage" Title="::Web Robot:Report::" %>

<%@ Register Assembly="DevExpress.Web.ASPxEditors.v9.1, Version=9.1.4.0, Culture=neutral, PublicKeyToken=5377c8e3b72b4073"
  Namespace="DevExpress.Web.ASPxEditors" TagPrefix="dxe" %>
<%@ Register Assembly="DevExpress.XtraReports.v9.1.Web, Version=9.1.4.0, Culture=neutral, PublicKeyToken=5377c8e3b72b4073"
  Namespace="DevExpress.XtraReports.Web" TagPrefix="dxxr" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
  <div class="heading">
    Report Transaction
  </div>
  <div style="margin: 0 10px 0 0;">
    <span style="color: #808080">From: </span>
    <div style="margin: -20px 0 0 50px">
      <dxe:ASPxDateEdit ID="dateFrom" runat="server" CssFilePath="~/App_Themes/Aqua/{0}/styles.css"
        CssPostfix="Aqua" ImageFolder="~/App_Themes/Aqua/{0}/" ShowShadow="False" Width="130px">
        <ValidationSettings>
          <ErrorImage Height="14px" Url="~/App_Themes/Aqua/Editors/edtError.png" Width="14px" />
          <ErrorFrameStyle ImageSpacing="4px">
            <ErrorTextPaddings PaddingLeft="4px" />
          </ErrorFrameStyle>
        </ValidationSettings>
        <DropDownButton>
          <Image Height="7px" Url="~/App_Themes/Aqua/Editors/edtDropDown.png" UrlDisabled="~/App_Themes/Aqua/Editors/edtDropDownDisabled.png"
            UrlHottracked="~/App_Themes/Aqua/Editors/edtDropDownHottracked.png" UrlPressed="~/App_Themes/Aqua/Editors/edtDropDownHottracked.png"
            Width="9px" />
        </DropDownButton>
        <CalendarProperties>
          <HeaderStyle Spacing="1px" />
          <FooterStyle Spacing="17px" />
        </CalendarProperties>
      </dxe:ASPxDateEdit>
    </div>
  </div>
  <div style="margin: 10px 0 0 0">
    <span style="color: #808080">To: </span>
    <div style="margin: -20px 0 0 50px">
      <dxe:ASPxDateEdit ID="dateTo" runat="server" CssFilePath="~/App_Themes/Aqua/{0}/styles.css"
        CssPostfix="Aqua" ImageFolder="~/App_Themes/Aqua/{0}/" ShowShadow="False" Width="130px">
        <ValidationSettings>
          <ErrorImage Height="14px" Url="~/App_Themes/Aqua/Editors/edtError.png" Width="14px" />
          <ErrorFrameStyle ImageSpacing="4px">
            <ErrorTextPaddings PaddingLeft="4px" />
          </ErrorFrameStyle>
        </ValidationSettings>
        <DropDownButton>
          <Image Height="7px" Url="~/App_Themes/Aqua/Editors/edtDropDown.png" UrlDisabled="~/App_Themes/Aqua/Editors/edtDropDownDisabled.png"
            UrlHottracked="~/App_Themes/Aqua/Editors/edtDropDownHottracked.png" UrlPressed="~/App_Themes/Aqua/Editors/edtDropDownHottracked.png"
            Width="9px" />
        </DropDownButton>
        <CalendarProperties>
          <HeaderStyle Spacing="1px" />
          <FooterStyle Spacing="17px" />
        </CalendarProperties>
      </dxe:ASPxDateEdit>
    </div>
  </div>
  <div style="margin: 10px 0 0 0;">
    <dxe:ASPxButton ID="btnShowReport" runat="server" Text="Show report" CssFilePath="~/App_Themes/Aqua/{0}/styles.css"
      CssPostfix="Aqua" OnClick="btnShowReport_Click">
    </dxe:ASPxButton>
  </div>

  <script language="javascript" type="text/javascript">
jQuery(document).ready(function(){
      jQuery('#aMenuReport').attr('class', 'active');
    });
  </script>

</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder2" runat="server">
  <div>
  <div style="margin:0 0 0 90px">
    <dxxr:ReportToolbar ID="ReportToolbar1" runat="server" ReportViewer="<%# rptImportTran %>"
      ShowDefaultButtons="False" Width="383px" Font-Names="Tahoma" Font-Size="9pt" ItemSpacing="2px"
      SeparatorColor="#A3C0E8" SeparatorHeight="100%" SeparatorWidth="1px">
      <Items>
        <dxxr:ReportToolbarButton ItemKind="Search" ToolTip="Display the search window" />
        <dxxr:ReportToolbarSeparator />
        <dxxr:ReportToolbarButton ItemKind="PrintReport" ToolTip="Print the report" />
        <dxxr:ReportToolbarButton ItemKind="PrintPage" ToolTip="Print the current page" />
        <dxxr:ReportToolbarSeparator />
        <dxxr:ReportToolbarButton Enabled="False" ItemKind="FirstPage" ToolTip="First Page" />
        <dxxr:ReportToolbarButton Enabled="False" ItemKind="PreviousPage" ToolTip="Previous Page" />
        <dxxr:ReportToolbarLabel Text="Page" />
        <dxxr:ReportToolbarComboBox ItemKind="PageNumber" Width="65px">
        </dxxr:ReportToolbarComboBox>
        <dxxr:ReportToolbarLabel Text="of" />
        <dxxr:ReportToolbarTextBox IsReadOnly="True" ItemKind="PageCount" />
        <dxxr:ReportToolbarButton ItemKind="NextPage" ToolTip="Next Page" />
        <dxxr:ReportToolbarButton ItemKind="LastPage" ToolTip="Last Page" />
        <dxxr:ReportToolbarSeparator />
        <dxxr:ReportToolbarButton ItemKind="SaveToDisk" ToolTip="Export a report and save it to the disk" />
        <dxxr:ReportToolbarButton ItemKind="SaveToWindow" ToolTip="Export a report and show it in a new window" />
        <dxxr:ReportToolbarComboBox ItemKind="SaveFormat" Width="70px">
          <Elements>
            <dxxr:ListElement Text="Pdf" Value="pdf" />
            <dxxr:ListElement Text="Xls" Value="xls" />
            <dxxr:ListElement Text="Rtf" Value="rtf" />
            <dxxr:ListElement Text="Mht" Value="mht" />
            <dxxr:ListElement Text="Text" Value="txt" />
            <dxxr:ListElement Text="Csv" Value="csv" />
            <dxxr:ListElement Text="Image" Value="png" />
          </Elements>
        </dxxr:ReportToolbarComboBox>
      </Items>
      <Styles CssFilePath="~/App_Themes/Aqua/{0}/styles.css" CssPostfix="Aqua">
        <LabelStyle ForeColor="#2C4D79">
          <Margins MarginLeft="3px" MarginRight="3px" />
        </LabelStyle>
        <ComboBoxStyle>
          <Margins MarginLeft="3px" MarginRight="3px" />
        </ComboBoxStyle>
        <ComboBoxButtonStyle>
          <DropDownButtonImage Height="7px" Url="~/App_Themes/Aqua/Editors/edtDropDown.png"
            UrlDisabled="~/App_Themes/Aqua/Editors/edtDropDownDisabled.png" UrlHottracked="~/App_Themes/Aqua/Editors/edtDropDownHottracked.png"
            Width="7px" />
        </ComboBoxButtonStyle>
        <TextBoxStyle>
          <Margins MarginLeft="2px" MarginRight="2px" />
        </TextBoxStyle>
        <ButtonStyle HorizontalAlign="Center" VerticalAlign="Middle">
        </ButtonStyle>
      </Styles>
      <Border BorderColor="#A3C0E8" BorderStyle="Solid" BorderWidth="1px" />
      <Images ImageFolder="~/App_Themes/Aqua/{0}/">
      </Images>
    </dxxr:ReportToolbar></div>
    <div>
      <dxxr:ReportViewer ID="rptImportTran" runat="server" AutoSize="False" Width="783px"
        Height="858px" OnLoad="rptImportTran_Load">
      </dxxr:ReportViewer>
    </div>
  </div>
</asp:Content>
